</head>
<body>
	<!-- 顶部开始 -->
	<div class="bgblack">
		<div class="w1200 auto p5 bgblack">
			<a class="white-2 af mr20" href="__ROOT__">老地方电影</a>
		</div>
	</div>
	<!-- 顶部结束 -->
	<!-- menu开始 -->
	<div class="h65 bgwhite rel zix2 fixMenu">
		<div class="w1200 auto h65 rel fix">
			<div class="logo t0 l0 w100 h65 l mr30"><img src="__TPL__/img/logo.png" alt="" /></div>
			<ul class="l fm rel menu">
					<li class="l lh60 mr30" act="1"><a class="w50 tc dib f16 black" href="__ROOT__">首页</a></li>
				<cate row="5" cid="{$hd.get.cid}">
					<li class="l lh60 mr30" {$c.act}><a class="w50 tc dib f16 black" href="{$c.url}">{$c.cname}</a></li>
				</cate>
				<span class="movebg dib w50 bgblue h4 abs b0 l0"></span>
			</ul>
			<div class="r abs t20 r10">
				<form action="{|U('search/index')}" method="get" class="dib ">
					<div class="dib bdc w200 rel">
						<input class="p5 pct80 bd0" type="text" name="keys" />
						<input type="submit" class="hand gray abs t3 r5 bd0 search" value="&emsp;&ensp;" />
					</div>
				</form>
				<p class="p5 dib fm ml10">
					<if value="$hd.session.user.uid">
						<span class="f14 black mr10">欢迎您： <a class="gray a f14" href="{|U('User/index')}"><i class="icon-user mr3 gray"></i>{$hd.session.user.email} [ {$hd.session.user.nickname} ]</a></span>
						<a class="f14 black" href="{|U('User/out')}"><i class="icon-signout mr3 gray"></i>退出</a>
						<if value="$hd.session.user.level gt 0">
							| <a class="f14 blue5 tsblack" href="__ROOT__?a=admin">后台管理</a>
							<if value="$hd.session.user.level eq 9"><span class="p2 pl5 pr5 rad50 white bgmaroon">超</span></if>
						</if>
					<else/>
						<a class="f14 black mr10" href="{|U('User/login')}">登录</a>
						<a class="f14 black" href="{|U('User/reg')}">注册</a>
					</if>
					
				</p>
			</div>
		</div>
	</div>
	<!-- menu结束 -->